package org.shangrila.app.wfm.mb;

import org.shangrila.comm.dao.DbAccess;
import org.shangrila.wfm.eo.WfmProcess;

public class Test {
    
	public static void main(String[] args) {
		DbAccess db = new DbAccess();
		String p = "2018060412335510194328";
		WfmProcess selectedProcess=(WfmProcess) db.findByIdProperty("id", p, "WfmProcess");
		System.out.println(selectedProcess.getId());
		//WfmDiagramModel wm = new WfmDiagramModel();
		WfmDiagramModel.genProcessDiagramModel(selectedProcess,null);

	}

}
